package data_structure.stack;

/**
 * \* User: Administrator
 * <p>
 * \* Date: 2020/9/25
 * <p>
 * \* Time: 11:29
 * <p>
 * \* Description:
 * \
 */
public class SequenceStack<T> {
    final int max = 0;

    private T[] array;

    private int top;//指针

    public SequenceStack() {
        top = -1;
        array = (T[]) new Object[max];
    }

    public SequenceStack(int n) {
        if (n < 0) {
            System.exit(1);
        }
        top = -1;
        array = (T[]) new Object[max];
    }

    public void push(T t) {}

    //public T pop(){}
    //public T getHead(){}
}
